home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / g_man / cat3 / standard / qcontrol.z / qcontrol
Encoding:
Text File  |  1998-10-20  |  5.7 KB  |  133 lines

  1.  
  2.  
  3.  
  4. qqqqccccoooonnnnttttrrrroooollll((((3333GGGG))))                                                      qqqqccccoooonnnnttttrrrroooollll((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      qqqqccccoooonnnnttttrrrroooollll - administers event queue
  10.  
  11. CCCC SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  12.      lllloooonnnngggg qqqqccccoooonnnnttttrrrroooollll((((ccccmmmmdddd,,,, iiiiccccnnnntttt,,,, iiiiddddaaaattttaaaa,,,, ooooccccnnnntttt,,,, ooooddddaaaattttaaaa))))
  13.      lllloooonnnngggg ccccmmmmdddd;;;;
  14.      lllloooonnnngggg iiiiccccnnnntttt;;;;
  15.      sssshhhhoooorrrrtttt iiiiddddaaaattttaaaa[[[[]]]];;;;
  16.      lllloooonnnngggg ooooccccnnnntttt;;;;
  17.      sssshhhhoooorrrrtttt ooooddddaaaattttaaaa[[[[]]]];;;;
  18.  
  19. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  20.      _c_m_d     specifies which operation to perform.
  21.  
  22.      _i_c_n_t    expects the number of elements in _i_d_a_t_a.  If the operation only
  23.              returns data, set _i_c_n_t to zero.
  24.  
  25.      _i_d_a_t_a   expects an array containing the data to be used by _c_m_d.  If _i_c_n_t
  26.              is zero, then _i_d_a_t_a can be NULL.
  27.  
  28.      _o_c_n_t    expects the number of elements in _o_d_a_t_a.  If the operation does
  29.              not return data, set _o_c_n_t to zero.
  30.  
  31.      _o_d_a_t_a   expects the array into which you want the system to write the
  32.              values returned by _c_m_d.  If _o_c_n_t is zero, then _o_d_a_t_a can be NULL.
  33.  
  34. FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNN RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
  35.      Upon successful completion, a value of 0 is returned. Otherwise, the
  36.      returned value is a negative integer whose absolute value is an error
  37.      value defined in <_e_r_r_n_o._h>.
  38.  
  39. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  40.      The qqqqccccoooonnnnttttrrrroooollll routine is used to control various administrative aspects of
  41.      the event queue and is intended for use by window management systems and
  42.      input device daemons.
  43.  
  44.      The following values for _c_m_d are currently recognized:
  45.  
  46.      QQQQCCCC____SSSSEEEETTTTKKKKEEEEYYYYWWWWAAAARRRRPPPP
  47.           Sets the graphics console keyboard auto-repeat threshold and rate to
  48.           _i_d_a_t_a[_0] and _i_d_a_t_a[_1] respectively.  The threshold represents the
  49.           time between the initial key press and the beginning of auto-repeat.
  50.           The rate value represents the inter-character repeat interval.
  51.  
  52.      QQQQCCCC____GGGGEEEETTTTKKKKEEEEYYYYWWWWAAAARRRRPPPP
  53.           Returns in the keyboard repeat threshold in _o_d_a_t_a[_0] and the repeat
  54.           rate in _o_d_a_t_a[_1].
  55.  
  56.      QQQQCCCC____SSSSEEEETTTTMMMMOOOOUUUUSSSSEEEEWWWWAAAARRRRPPPP
  57.           Sets the mouse acceleration threshold and multiplier to _i_d_a_t_a[_0] and
  58.           (_1_6 * _i_d_a_t_a[_1]) respectively.  Whenever the mouse is moved, a delta
  59.           value from its last known position is computed.  If the delta value
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. qqqqccccoooonnnnttttrrrroooollll((((3333GGGG))))                                                      qqqqccccoooonnnnttttrrrroooollll((((3333GGGG))))
  71.  
  72.  
  73.  
  74.           exceeds the acceleration threshold, then both the _x and _y components
  75.           of the motion are multiplied by the acceleration multiplier.  If
  76.           _i_d_a_t_a[_0] and _i_d_a_t_a[_1] are both zero, then the acceleration and
  77.           threshold are reset to the defaults.
  78.  
  79.      QQQQCCCC____GGGGEEEETTTTMMMMOOOOUUUUSSSSEEEEWWWWAAAARRRRPPPP
  80.           Returns in _o_d_a_t_a[_0] and _o_d_a_t_a[_1] the current mouse accelerator
  81.           threshold and multiplier values.
  82.  
  83.      QQQQCCCC____SSSSEEEETTTTDDDDIIIIAAAALLLLWWWWAAAARRRRPPPP
  84.           Sets the dial acceleration threshold and multiplier to _i_d_a_t_a[_0] and
  85.           (_1_6 * _i_d_a_t_a[_1]) respectively.  Whenever the dial is moved, a delta
  86.           value from its last known position is computed.  If the delta value
  87.           exceeds the acceleration threshold, then both the _x and _y components
  88.           of the motion are multiplied by the acceleration multiplier.  If
  89.           _i_d_a_t_a[_0] and _i_d_a_t_a[_1] are both zero, then the acceleration and
  90.           threshold are reset to the defaults.
  91.  
  92.      QQQQCCCC____GGGGEEEETTTTDDDDIIIIAAAALLLLWWWWAAAARRRRPPPP
  93.           Returns in _o_d_a_t_a[_0] and _o_d_a_t_a[_1] the current dial accelerator
  94.           threshold and multiplier values.
  95.  
  96. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  97.      qdevice, setvaluator
  98.  
  99. NNNNOOOOTTTTEEEESSSS
  100.      This routine is available only in immediate mode.
  101.  
  102.      The symbolic command values mentioned above are defined in
  103.      <_g_l/_q_c_o_n_t_r_o_l._h>.
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.